<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Mod_setting extends CI_Controller {
    function  __construct(){
        parent::__construct();
    }
    function index(){      
        $cataid = $this->common_model->getdata('catalog',array('publish'=>1,'position'=>2),array('id','title','alias'),array('id','ASC'));
        $data_setting = $this->common_model->getdata('setting','',array('title','address','email','phone','homemobile','fax','logo','footer'),array('id',1,'sapxep'=>'DESC'),2);
        $this->load->view('mod_setting/view_setting',array('data_setting'=>$data_setting,'cataid'=>$cataid));
    }
}